
//
//  STSureOrderCell.m
//  CuiBoStore
//
//  Created by 崔博 on 16/12/15.
//  Copyright © 2016年 崔博. All rights reserved.
//

#import "STSureOrderCell.h"

@interface STSureOrderCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *countLabel;

@end
@implementation STSureOrderCell

- (void)setListModel:(STOrderListModel *)listModel
{
    NSLog(@"%@",listModel);
    
    _listModel = listModel;
    [_iconView downloadImage:listModel.ImgView placeholder:nil];
    _titleLabel.text = listModel.Title;
    _countLabel.text = [NSString stringWithFormat:@"%.2fx%ld",listModel.Price,(long)listModel.GoodsCount];
}
@end
